package com.soft.mainsite.module.web.cms.service;

import com.soft.mainsite.mybatis.model.TCmsContent;

/**
 * 页面静态化接口
 *
 * @author liupengtao
 * @date 2019/04/30
 */
public interface HtmlStaticService {

    /**
     * 静态化首页
     * @param siteId
     * @throws Exception
     */
    void index(Integer siteId)  throws Exception;

    /**
     * 静态化栏目首页
     * @param siteId
     * @param categoryId
     * @param pageNumber
     * @param isPageList
     * @throws Exception
     */
    void category(Integer siteId, Long categoryId, Integer pageNumber, boolean isPageList)  throws Exception;

    /**
     * 静态化栏目列表
     * @param siteId
     * @param categoryId
     * @param pageNumber
     * @param isPageList
     * @throws Exception
     */
    void categoryList(Integer siteId, Long categoryId, Integer pageNumber, boolean isPageList)  throws Exception;

    /**
     * 静态化内容
     * @param tCmsContent
     * @throws Exception
     */
    void content(TCmsContent tCmsContent);

    /**
     * 静态化专题
     * @param siteId
     * @throws Exception
     */
    void topic(Integer siteId)  throws Exception;

}
